package code;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import org.mq.mymq.common.coder.TcpMsg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @ClassName NameServerRespChannelHandler
 * @Description 2
 * @Author jiarong_ye
 * @Date 2025/6/19 12:12
 * @Version 1.0
 */
public class NameServerRespChannelHandler extends SimpleChannelInboundHandler<TcpMsg> {
    private static final Logger log = LoggerFactory.getLogger(NameServerRespChannelHandler.class);
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, TcpMsg tcpMsg) throws Exception {
        log.info("receive msg {}", tcpMsg);
    }
}
